import java.util.Scanner;

/**
 * 调试是一个程序员最基本的能力,大部分时间都是在调试找bug.
 */
public class Test {
    public static void main1(String[] args) {
//        int a =10;
//        if(a>15){
//            System.out.println("今天有点热!");
//        }
//        else{
//            System.out.println("今晚洗个热水澡!");
//        }
        int num = 7;
        if (num % 2 == 1) {
            System.out.println("奇数!");
        } else {
            System.out.println("偶数!");
        }
    }

    //判断闰年:
    public static void main2(String[] args) {
        int year = 2025;
        if ((year % 4 == 0) && (year % 100 != 0)) {
            System.out.println("闰年");
        } else if (year % 400 == 0) {
            System.out.println("闰年");
        } else {
            System.out.println("平年");
        }
    }

    public static void main3(String[] args) {
        int year = 1000;
        for (year = 1000; year < 2026; year++) {
            if (year % 4 == 0 && year % 100 != 0) {
                System.out.println(year + "是闰年!");
            } else if (year % 400 == 0) {
                System.out.println(year + "闰年!");
            }
        }
    }

    public static void main4(String[] args) {
        String a = "hello";
        switch (a) {
            case "abc":
                System.out.println(1);
                break;
            case "xcv":
                break;
            default:
                break;
        }
    }

    public static void main5(String[] args) {
     int num = 1;
     while(num<=10){
        System.out.println(num);
         num++;
     }
    }

    public static void main6(String[] args) {
        int num = 1;
        int ret = 0;
        while(num<=100){
            ret+=num;
            num++;
        }
        System.out.println(ret);
    }

    public static void main7(String[] args) {
//        int num = 100;
//        int ret = 0;
//        while(num>=1){
//            ret+=num;
//            num--;
//        }
//        System.out.println(ret);
//    }
        int i = 1;
        int ret = 0;
        for (i = 1; i <= 100; i++) {
            ret += i;
        }
        System.out.println(ret);

    }

    public static void main8(String[] args) {
//        int i =1;
//        int ret =1;
//        while(i<=5){
//            ret*=i;
//            i++;
//        }
//        System.out.println(ret);
        int i = 1;
        int num = 0;
        while(i<=5){
            int k = 1;
            int ret = 1;
            while(k<=i){
                ret*=k;
                k++;
            }
            i++;
            num+=ret;
        }
        System.out.println(num);
    }

    public static void main9(String[] args) {
        int n = 1;
        while(n<=5){
            if(n==2){
                break;
            }
            System.out.println(n);
            n++;

        }
    }

    //100~200之间可以被3,4整除的数:
    public static void main10(String[] args) {
        int i=100;
        while(i<=200){
            if((i%3==0)&&(i%4==0)){
                System.out.println(i);

            }
            i++;
        }
    }

    public static void main11(String[] args) {
        int i =99;
        while(i<=200) {
            i++;
            if (i % 3 == 0) {
                if (i % 4 != 0) {
                    continue;
                }
                System.out.println(i);
            }

        }
    }

    public static void main12(String[] args) {
        int i =100;
        while( i <= 200){
            if(i % 12 != 0){
                i++;
                continue;
            }
            System.out.println(i);
            i++;
        }
    }

    public static void main(String[] args) {
//        int i = 0;
//        //fori:快捷.
//        for (int i = 0; i < ; i++) {
//
//        }
        Scanner yanzi = new Scanner(System.in);
        String name = yanzi.nextLine();//读入一行
    }
}